package com.qfedu.microuser.user.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @Classname RegisterParam
 * @Description TODO
 * @Date 2025-05-21 16:12
 * @Created by 老任与码
 */
@Data
public class RegisterParam {
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "请输入合法的手机号")
    private String phone;
    @NotBlank(message = "请输入用户名")
    private String username;
    @NotBlank(message = "请输入密码")
    private String password;
    private String code;
    private String inviteCode;

}
